package edu.whu.service;

import edu.whu.bean.Product;
import edu.whu.bean.Supplier;
import edu.whu.exception.ProductException;

import java.util.List;


public interface ProductService {

     int save(Product product);
     int insert(Product product);
     int deleteById(int id) throws ProductException;
     List<Product> select(String param, Object value);
     Product selectById(int id);
     List<Product> selectAll();
     List<Supplier> selectSupplier(int id);


     List<Product> selectCountGreater(int count);



}
